package com.yuju.account.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 类名：UnitAccountBookModel  <br />
 *
 * 功能：
 *
 * @author : jiaokn <br />
 * @Date : 2017年11月27日 上午10:32:08  <br />
 * @version : 1.1 <br />
 */
public class UnitAccountBookModel implements Serializable {
	/**  
	 * serialVersionUID : 
	 */
	private static final long serialVersionUID = 1L;

	/**
     *  主键。存储UUID，由应用生成。,所属表字段为acc_unit_account_book.id
     */
    private String id;

    /**
     *  客户ID。根据客户类型，对应表中的主键。,所属表字段为acc_unit_account_book.custom_id
     */
    private String customId;

    /**
     *  客户类型。1会员，2协议单位，3中介，4OTA，5业主，6员工,所属表字段为acc_unit_account_book.custom_type
     */
    private Byte customType;

    /**
     *  会员ID。,所属表字段为acc_unit_account_book.member_id
     */
    private String memberId;

    /**
     *  备注。,所属表字段为acc_unit_account_book.remark
     */
    private String remark;

    /**
     *  是否结账。1表示已结，0表示未结。,所属表字段为acc_unit_account_book.is_settle
     */
    private Byte isSettle;

    /**
     *  ,所属表字段为acc_unit_account_book.settle_time
     */
    private Date settleTime;

    /**
     *  创建用户ID。外键，引用员工表（grp_employee）的主键（id）。,所属表字段为acc_unit_account_book.create_user_id
     */
    private String createUserId;

    /**
     *  更新用户ID。外键，引用员工表（grp_employee）的主键（id）。,所属表字段为acc_unit_account_book.update_user_id
     */
    private String updateUserId;

    /**
     *  是否逻辑删除。0表示未删除，1表示已逻辑删除。,所属表字段为acc_unit_account_book.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为acc_unit_account_book.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为acc_unit_account_book.gmt_modified
     */
    private Date gmtModified;

    /**
     *  名称。,所属表字段为acc_unit_account_book.name
     */
    private String name;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为acc_unit_account_book.hotel_id
     */
    private String hotelId;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为acc_unit_account_book.group_id
     */
    private String groupId;
    
    /**  
     * customName : 单位名称
     */
    private String customName;
    
    /**  
     * createUserName : 创建人名称
     */
    private String createUserName;
    
    /**  
     * updateUserName : 更新人名称
     */
    private String updateUserName;
    
    /**  
     * sumSK : 总结算
     */
    private BigDecimal sumSK;
    /**  
     * sumGZ : 总挂账
     */
    private BigDecimal sumGZ;
    
    public String getCustomName() {
		return customName;
	}

	public void setCustomName(String customName) {
		this.customName = customName;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getUpdateUserName() {
		return updateUserName;
	}

	public void setUpdateUserName(String updateUserName) {
		this.updateUserName = updateUserName;
	}

	public BigDecimal getSumSK() {
		return sumSK;
	}

	public void setSumSK(BigDecimal sumSK) {
		this.sumSK = sumSK;
	}

	public BigDecimal getSumGZ() {
		return sumGZ;
	}

	public void setSumGZ(BigDecimal sumGZ) {
		this.sumGZ = sumGZ;
	}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId;
    }

    public Byte getCustomType() {
        return customType;
    }

    public void setCustomType(Byte customType) {
        this.customType = customType;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Byte getIsSettle() {
        return isSettle;
    }

    public void setIsSettle(Byte isSettle) {
        this.isSettle = isSettle;
    }

    public Date getSettleTime() {
        return settleTime;
    }

    public void setSettleTime(Date settleTime) {
        this.settleTime = settleTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", customId=").append(customId);
        sb.append(", customType=").append(customType);
        sb.append(", memberId=").append(memberId);
        sb.append(", remark=").append(remark);
        sb.append(", isSettle=").append(isSettle);
        sb.append(", settleTime=").append(settleTime);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", updateUserId=").append(updateUserId);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", name=").append(name);
        sb.append(", hotelId=").append(hotelId);
        sb.append(", groupId=").append(groupId);
        sb.append("]");
        return sb.toString();
    }
}
